
<div class="content">
	<div class="breadLine">
		<ul class="breadcrumb">
			<li><a href="#">Quản trị</a> <span class="divider">></span></li>
			<li class="active">footer</li>
		</ul>

		<ul class="buttons">
			<li>
				<a href="javascript: void(0)" onclick="delAllCate(); return false;"><span class="icon-remove"></span><span class="text">Xóa</span></a>
			</li>
			<li>
				<a href="<?php echo base_url()."admin/c-footer/them"?>"><span class="icon-plus"></span><span class="text">Thêm mới</span></a>
			</li>
			
<!-- 			<li><a href="#" class="link_bcPopupSearch"><span class="icon-search"></span><span -->
<!-- 					class="text">Search</span></a> -->

<!-- 				<div id="bcPopupSearch" class="popup"> -->
<!-- 					<div class="head"> -->
<!-- 						<div class="arrow"></div> -->
<!-- 						<span class="isw-zoom"></span> <span class="name">Search</span> -->
<!-- 						<div class="clear"></div> -->
<!-- 					</div> -->
<!-- 					<div class="body search"> -->
<!-- 						<input type="text" placeholder="Some text for search..." -->
<!-- 							name="search" /> -->
<!-- 					</div> -->
<!-- 					<div class="footer"> -->
<!-- 						<button class="btn" type="button">Search</button> -->
<!-- 						<button class="btn btn-danger link_bcPopupSearch" type="button">Close</button> -->
<!-- 					</div> -->
<!-- 				</div></li> -->
		</ul>

	</div>

	<div class="workplace">
            <div class="row-fluid">
                
                <div class="span12">                    
                    <div class="head">
                        <div class="isw-grid"></div>
                        <h1>Footer</h1>                               
                        <div class="clear"></div>
                    </div>
                    <div class="block-fluid table-sorting">
	                    <form accept-charset="utf-8" method="post" action="<?php echo base_url()."admin/brand/delete"?>" id="formListCate">
	                        	<input type="hidden" value="" name="id_list" id="id_list">
	                    </form>
                        <table cellpadding="0" cellspacing="0" width="100%" class="table" id="tSortable_2">
                            <thead>
                                <tr>
                                    <th><input type="checkbox" name="checkall"/></th>
                                    <th width="10%">ID</th>
                                    <th width="20%">Tiêu đề</th>
                                    <th width="30%">Mô tả</th>
                                    <th width="20%">Trạng thái</th>
                                    <th width="10%">Ngày tạo</th>
                                    <th width="10%">Ngày sửa</th>                                    
                                </tr>
                            </thead>
                            <?php foreach($results as $idx => $val){?>
                            <tbody>
									<tr class="<?= $idx % 2 == 0? 'odd': 'event'  ?>>">
										<td>
											<div class="checker">
												<span>
													<input type="checkbox" name="checkbox[]" class="check_cat" style="opacity: 0;" value="<?= $val['id'] ?>">
												</span>
											</div>
										</td>
										
										<td><?= $val['id'] ?></td>
										<td><a href="<?php echo base_url();?>admin/c-footer/sua/<?= $val['id'] ?>"><?= $val['title'] ?></a></td>
										<td><?php echo  word_limiter($val['description'],15) ?></td>
										<td><?php if ($val['status'] == 0) {echo 'Hiện';} else {echo 'Ẩn';} ?></td>
										<td><?= $val['created'] ?></td>
										<td><?= $val['updated'] ?></td>
										
									</tr>
                            </tbody>
                            <?php } ?>
                        </table>
                        <div class="clear"></div>
                    </div>
                </div>                                
                
            </div>   
        
    </div>   

</div>

